home *** CD-ROM | disk | FTP | other *** search
- From: Julian Reschke <reschke@GOEDEL.UNI-MUENSTER.DE>
- Subject: Controlling tty
- Date: Fri, 12 Nov 93 23:00:28 MET DST
-
- I'm looking for a reliable method to find the controlling tty of another
- process (for my ps.ttp). The PROC structure has a FILEPTR for thatm but
- it's in the undocumented area, and it's contents is undocumented, too.
-
- What about an Fcnt PGETCTTY which returns dev and index of the controlling
- tty (small change in procfs.c)? I've already added the few lines and
- would like to have them in the release kernel, if there's no simpler way...
-
- --
- ---------------------------------------------------
- Julian F. Reschke, Hensenstr. 142, D-48161 Muenster
- eMail: reschke@math.uni-muenster.de jr@ms.maus.de
- ___________________________________________________
-